|
|
SPICE - User Downloads |
| Spectrometer Instrument Control
Environment |
|
This allows a user to view the current status of the spectrometer(s).
Detailed information about the use of this program can be found here.
This program allows the user to download
data to his/her own computer and browse through the scans in the
experiment.
It also allows combining data sets, angle
calculations, spurion checks, etc.
Users
of Windows NT/2000/XP can download all the documentation for SPICE in
the form of a Windows help file by clicking here.
We have put together a full version of SPICE which users can run on their own computer to become familiar with the commands and user interface. This program is designed to closely match the actual operation of the triple-axis spectrometer.
There are 2 steps to the installation of the virtual triple-axis software:
The full operation of the SPICE executable requires the installation of 3 external programs:
(a) The National Instruments
run-time engine - LVRunTimeEng.exe
NOTE: this can also be downloaded directly
from National Instruments
(b) Python 2.3 - Python-2.3.3.exe
The latest version of Python can be downloaded from http://www.python.org
(c) The Python Windows extensions - win32all-163.exe
The executable, code, and
configuration files needed to run the SPICE virtual triple-axis spectrometer
have been compiled into a self-extracting executable, Virtual_Spice.exe.
Download and run this self-extracting executable. The first step in the
installation will be the confirmation of the prerequisite software described in
step 1 above. Note that the installation will not proceed until all the
necessary software is installed on your computer. The installer will setup
and configure SPICE in the 'c:\program files\spice' directory.
NOTE: The Virtual_Spice.exe file is a large download (approximately 50 Mb)
(a) MATLAB:
The following 2 files provide a method for loading SPICE data into MATLAB:
Copy these 2 files into you working directory or some location in the MATLAB path.
Usage:
[x, y, err, monitor, xlab, ylab]=spiceload(filespec)
where filespec has the form:
'filename,<x column name>,<y column name>,<Monitor name>,<Normalization factor>'
Examples:
[x, y, err, monitor, xlab, ylab]=spiceload('HB1_exp0058_scan0012.dat')
Loads the
specified file with defaults
[x, y, err, monitor, xlab, ylab]=spiceload('HB1_exp0058_scan0013.dat,default,default,monitor,20000')
Loads the
specified file with x and y as defaults normalized to 20000 monitor
counts
[x, y, err, monitor, xlab, ylab]=spiceload('HB1_exp0058_scan0010.dat,e,detector,monitor,400000')
Loads the
specified file with x=e, y=detector normalized to 400000 monitor counts
Comments or questions about this web site can be emailed to Mark Lumsden